#1.
name = "郝健成"
age = 65
address = "吉林省吉林市"
phone_number = "12345678912"
#2.
print(name, age, address, phone_number)
#3.
a="大家好，我叫郝健成，来自吉林省吉林市，今年65岁"
print(a)
#4.
numbers = int(input("请输入一个整数:"))
if numbers % 2 == 0:
    print("是偶数")
else:
    print("是奇数")
#5.
numbers = int(input("请输入一个整数:"))
num = 0
for i in range(numbers + 1):
    num += i
print(f"总和为{num}")
#6.
day = str(input("请输入今天的天气:"))
if day == "晴天":
    print("今天出去玩")
elif day == "雨天":
    print("今天睡懒觉")
elif day == "阴天":
    print("出门多穿衣服")
elif day == "雪天":
    print("出门穿棉袄")
else:print("出门记得带上郝健成一起走")

#7.
sum_7 = 0
for i in range(1, 201):
    if i % 3 == 0:
        sum_7 += i
print(f"从1-200能被3整除的数的和是: {sum_7}")

#8.
num = 0
for i in range(2, 2001):
    if i % 20 == 0:
        num += i
print(f"从2-2000能被3整除的数的和是: {num}")
#9.
num = 0
for i in range(300, 4000):
    if i % 2 == 0 and i % 3 != 0:
        num += i
print(f"从300-4000能被2整除的数的和是: {num}")
#11.
name = input("请输入姓名：")
age = input("请输入年龄：")
sex = input("请输入性别：")
add = input("请输入地址：")
phone = input("请输入手机号：")

print("姓名:name", "年龄:age", "性别:sex", "地址:add", "电话:phone")